package com.tzsafe.nfcdemo

import android.app.Application
import android.view.Gravity
import com.hjq.toast.ToastUtils
import com.hjy.bluetooth.HBluetooth
import com.inuker.bluetooth.library.BluetoothContext
import com.kongzue.dialogx.DialogX
import com.tencent.mmkv.MMKV

class App : Application() {
    lateinit var app: Application
    override fun onCreate() {
        super.onCreate()
        MvvmHelper.init(this)
        DialogX.init(this)
        HBluetooth.init(appContext);
        HBluetooth.getInstance()
            .setConnectTimeOut(10000);
        BluetoothContext.set(appContext);
    }
}